package cn.qiyu5522.service;

import cn.qiyu5522.domain.entity.Article;
import cn.qiyu5522.domain.entity.ResponseResult;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 文章表 服务类
 * </p>
 *
 * @author Tonkey
 * @since 2024-04-09
 */
public interface ArticleService extends IService<Article> {

    ResponseResult hotArticleList();

    ResponseResult articleListWithPage(Integer pageNum, Integer pageSize, Long categoryId);

    ResponseResult getArticleById(Long id);

    ResponseResult updateViewCount(Long id);

}
